#ifndef LICHENPROTOCOL_H
#define LICHENPROTOCOL_H

#include "base/baseprotocol.h"
#include "lichenprotocoldata.h"
#include "lichensendpacket.h"
#include "moduleelectronicscaledefine.h"

// lichen FA2204

class LiChenProtocol : public BaseProtocol
{
    Q_OBJECT
public:
    LiChenProtocol(electronicscale::ElectronicScaleParam &param, QObject *parent = nullptr);
    virtual ~LiChenProtocol() override;

    LiChenSendPacket *getSender();

protected:
    LiChenProtocol(electronicscale::ElectronicScaleParam &param, LiChenProtocolData &data, QObject *parent = nullptr);

private:
    electronicscale::ElectronicScaleParam			*m_param = nullptr;
};

#endif // LICHENPROTOCOL_H
